export const chatConfig = () => {
  return config
}


const config = {
  url: 'wss://nee7f9de.ala.cn-hangzhou.emqxsl.cn:8084/mqtt',
  options: {
    clean: true, // true: 清除会话, false: 保留会话
    connectTimeout: 4000, // 超时时间
    clientId: "emqx_vue3_" + Math.random().toString(16).substring(2, 8),
    username: 'tom',
    password: '12138'
  },
  commonTopicList: []
}